package com.xy.model;

import java.io.Serializable;

import javax.persistence.Cacheable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/*
 * 函授站表
 */
@SuppressWarnings("serial")
@Entity
@Table
@Cacheable
public class Station extends Identified implements Serializable {
  @Column(nullable = false)
  private String name;// 函授站名
  @Column(nullable = false)
  private String contactMan;// 联系人
  @Column(nullable = false)
  private String tel;// 电话
  @Column(nullable = false)
  private String address;// 地址
  private String remark;// 备注

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getContactMan() {
    return contactMan;
  }

  public void setContactMan(String contactMan) {
    this.contactMan = contactMan;
  }

  public String getTel() {
    return tel;
  }

  public void setTel(String tel) {
    this.tel = tel;
  }

  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }

  public String getRemark() {
    return remark;
  }

  public void setRemark(String remark) {
    this.remark = remark;
  }

  public Station() {
    super();
    // TODO Auto-generated constructor stub
  }

}
